<!--{include manage/header}-->
<body class="easyui-layout" style="overflow-y: hidden"  scroll="no">
<div id="header" region="north" split="true" border="false" style="overflow: hidden; height: 30px;
    background: #7f99be repeat-x center 50%;
    line-height: 20px;color: #fff; font-family: Verdana">
    <span style="float:right; padding-right:20px;" class="head"><a href="../out.php" id="loginOut">安全退出</a></span>
    <span style="padding-left:10px;"><img src="../static/js/easyui/images/blocks.gif" width="20" height="20" align="absmiddle" />happy管理系统</span>
</div>
<div id="leftPanle" region="west" split="true" title="管理菜单" style="width:180px;">
	<div style="padding:10px 0 0 5px;">
	  <ul id="MenuTreeViews" class="easyui-tree" animate="true">   
	  </ul>
	</div>
</div>
<div id="mainPanle" region="center" style="overflow-y:hidden;">
    <div id="tabs" class="easyui-tabs"  fit="true" border="false" >
		<div title="欢迎使用" class="list-div" id="home">
			<table cellpadding="0" cellspacing="0" align="center">
			  <tr>
			    <th colspan="3" class="group-title">开发团队</th>
			  </tr>
			  <tr>
			    <td width="15%" valign="top">产品名称</td>
			    <td><a href="http://blog.baomingchu.com" class="lightlink2" target="_blank">多功能资源系统</a></td>
			    <td rowspan="7"><div class="easyui-calendar" style="width:230px;height:230px;"></div></td>
			  </tr>
			  <tr>
			    <td width="15%" valign="top">版权所有</td>
			    <td>心肝宝贝</td>
		      </tr>
				  <tr>
				    <td>开发与支持团队</td>
				    <td>happy_medtrib</td>
			      </tr>
				  <tr>
				    <td>相关链接</td>
					<td>石家庄程序员</a></td>
			      </tr>
			</table>
		</div>			
	</div>
</div>

<script type="text/javascript">
$(function() {
	$('#MenuTreeViews').tree({
		url: "menu.php?nc="+Math.random(),
		onClick:function(node){
			var isLeaf = $(node).tree("isLeaf",node.target);
			if(isLeaf){
				var url = "index.php?file="+node.attributes.file+"&action="+node.attributes.action+"&nc="+Math.random();
				var tabTitle = $(this).text();
				addTab(tabTitle,url,node.id);
			}else{
				$("#MenuTreeViews").tree("toggle",node.target);
			}
		}
	});
});
</script>
<script type="text/javascript">
setInterval("getMessage({$userInfo['uid']});",10000);
function getMessage(uid) {
	$.ajax({
		url: "getMessage.php",
		data:{"nocache":Math.random(),"uid":uid},
		async: false,
		dataType: "json",
		success:function(msg){
			if (msg.status=="success"){
				show2(msg.titleData,msg.msgData);
			}
		}
	});
}
function show2(titleData,msgData){
			$.messager.show({
				title:titleData,
				msg:msgData,
				timeout:8000,
				showType:'show'
			});
}
</script>
<script type="text/javascript" src="../static/js/public.js"></script>
</body>
</html>